package com.fxd.crm.service.impl.dataAnalysisImpl;

import com.fxd.crm.mapper.dataIncomeMapper;
import com.fxd.crm.model.monthIncome;
import com.fxd.crm.service.IDataAnalysisService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @auther fuxudong
 * @date 2021/4/4 - 15:25
 */
@Service
public class dataAnalysisImpl implements IDataAnalysisService {
    @Autowired
    dataIncomeMapper dataIncomeMapper;

    @Override
    public List<monthIncome> getMonthIncome() {
        List<monthIncome> monthIncome = dataIncomeMapper.getMonthIncome();
        return monthIncome;
    }
}
